var id = function (id) {
    return document.getElementById(id);
}

//下载APP弹出
var a = id("downloadapp");
var b = id("download-image");

a.onmouseover = b.onmouseover =
    function () {
        b.style.display = "block";
    }
a.onmouseout = b.onmouseout =
    function () {
        b.style.display = "none";
    }

//导航栏Xiaomi手机弹出
var c = id("Xiaomi手机");
var d = id("Xiaomi手机-nav");
c.onmouseover = d.onmouseover =
    function () {
        d.style.display = "block";
    }
c.onmouseout = d.onmouseout =
    function () {
        d.style.display = "none";
    }

//左侧手机弹出
e = id("l")
f = id("shouji")
e.onmouseover = f.onmouseover =
    function () {
        f.style.display = "block";
    }
e.onmouseout = f.onmouseout =
    function () {
        f.style.display = "none";
    }

